New rule accounts_password_pam_modules_in_authselect_profile#14279
Merged
Mab879 merged 7 commits intoComplianceAsCode:masterfrom Jan 23, 2026
Merged
New rule accounts_password_pam_modules_in_authselect_profile#14279Mab879 merged 7 commits intoComplianceAsCode:masterfrom
Mab879 merged 7 commits intoComplianceAsCode:masterfrom
Conversation
|
Skipping CI for Draft Pull Request. |
ATEX Test ResultsTest artifacts have been submitted to Testing Farm. Results: View Test Results This comment was automatically generated by the ATEX workflow. |
179fed3 to
5213a55
Compare
jan-cerny
commented
Jan 14, 2026
...accounts/accounts-pam/accounts_password_pam_modules_in_authselect_profile/ansible/shared.yml
Show resolved
Hide resolved
This rule implements CIS RHEL 10 Benchmark v1.0.1 requirement 5.3.2.1 - Ensure active authselect profile includes pam modules. Resolves: https://issues.redhat.com/browse/OPENSCAP-6093
ba8e48c to
c05874b
Compare
Arden97
requested changes
Jan 16, 2026
...tem/accounts/accounts-pam/accounts_password_pam_modules_in_authselect_profile/bash/shared.sh
Outdated
Show resolved
Hide resolved
.../accounts-pam/accounts_password_pam_modules_in_authselect_profile/tests/rhel_correct.pass.sh
Outdated
Show resolved
Hide resolved
...accounts/accounts-pam/accounts_password_pam_modules_in_authselect_profile/ansible/shared.yml
Show resolved
Hide resolved
...accounts/accounts-pam/accounts_password_pam_modules_in_authselect_profile/ansible/shared.yml
Show resolved
Hide resolved
Only modify the custom profile. This is consistent with OVAL.
Arden97
approved these changes
Jan 19, 2026
Contributor
Arden97
left a comment
There was a problem hiding this comment.
I've verified that this PR passes all local automated tests on RHEL 8.10, RHEL 9.7, and RHEL 10.1. All meaningful requested changes in tests and remediations have been made
Mab879
requested changes
Jan 19, 2026
Member
Mab879
left a comment
There was a problem hiding this comment.
Platform should be Fedora as well for testing.
| @@ -0,0 +1,135 @@ | |||
| # platform = multi_platform_rhel | |||
...accounts/accounts-pam/accounts_password_pam_modules_in_authselect_profile/ansible/shared.yml
Outdated
Show resolved
Hide resolved
...em/accounts/accounts-pam/accounts_password_pam_modules_in_authselect_profile/oval/shared.xml
Outdated
Show resolved
Hide resolved
Collaborator
Author
|
I have removed empty lines and added Fedora to test scenarios. |
Collaborator
Author
|
I have changed platform to all platforms. |
Mab879
approved these changes
Jan 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds new rule
accounts_password_pam_modules_in_authselect_profile. This rule implements CIS requirement "Ensure active authselect profile includes pam modules". This requirement is a part of RHEL 8, 9 and 10 CIS. The rule is added to all profiles.The rule doesn't check PAM configuration in /etc/pam.d/system-auth or password-auth. Instead, it checks the authselect template contents in /etc/authselect.
Resolves: https://issues.redhat.com/browse/OPENSCAP-6093